package com.jari.lg.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FakePlateCarEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FakePlateCarEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlatenumberIsNull() {
            addCriterion("plateNumber is null");
            return (Criteria) this;
        }

        public Criteria andPlatenumberIsNotNull() {
            addCriterion("plateNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPlatenumberEqualTo(String value) {
            addCriterion("plateNumber =", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberNotEqualTo(String value) {
            addCriterion("plateNumber <>", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberGreaterThan(String value) {
            addCriterion("plateNumber >", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberGreaterThanOrEqualTo(String value) {
            addCriterion("plateNumber >=", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberLessThan(String value) {
            addCriterion("plateNumber <", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberLessThanOrEqualTo(String value) {
            addCriterion("plateNumber <=", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberLike(String value) {
            addCriterion("plateNumber like", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberNotLike(String value) {
            addCriterion("plateNumber not like", value, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberIn(List<String> values) {
            addCriterion("plateNumber in", values, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberNotIn(List<String> values) {
            addCriterion("plateNumber not in", values, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberBetween(String value1, String value2) {
            addCriterion("plateNumber between", value1, value2, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatenumberNotBetween(String value1, String value2) {
            addCriterion("plateNumber not between", value1, value2, "platenumber");
            return (Criteria) this;
        }

        public Criteria andPlatetypeIsNull() {
            addCriterion("plateType is null");
            return (Criteria) this;
        }

        public Criteria andPlatetypeIsNotNull() {
            addCriterion("plateType is not null");
            return (Criteria) this;
        }

        public Criteria andPlatetypeEqualTo(String value) {
            addCriterion("plateType =", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeNotEqualTo(String value) {
            addCriterion("plateType <>", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeGreaterThan(String value) {
            addCriterion("plateType >", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeGreaterThanOrEqualTo(String value) {
            addCriterion("plateType >=", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeLessThan(String value) {
            addCriterion("plateType <", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeLessThanOrEqualTo(String value) {
            addCriterion("plateType <=", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeLike(String value) {
            addCriterion("plateType like", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeNotLike(String value) {
            addCriterion("plateType not like", value, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeIn(List<String> values) {
            addCriterion("plateType in", values, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeNotIn(List<String> values) {
            addCriterion("plateType not in", values, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeBetween(String value1, String value2) {
            addCriterion("plateType between", value1, value2, "platetype");
            return (Criteria) this;
        }

        public Criteria andPlatetypeNotBetween(String value1, String value2) {
            addCriterion("plateType not between", value1, value2, "platetype");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeIsNull() {
            addCriterion("firstAppearDateTime is null");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeIsNotNull() {
            addCriterion("firstAppearDateTime is not null");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeEqualTo(Date value) {
            addCriterion("firstAppearDateTime =", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeNotEqualTo(Date value) {
            addCriterion("firstAppearDateTime <>", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeGreaterThan(Date value) {
            addCriterion("firstAppearDateTime >", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("firstAppearDateTime >=", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeLessThan(Date value) {
            addCriterion("firstAppearDateTime <", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeLessThanOrEqualTo(Date value) {
            addCriterion("firstAppearDateTime <=", value, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeIn(List<Date> values) {
            addCriterion("firstAppearDateTime in", values, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeNotIn(List<Date> values) {
            addCriterion("firstAppearDateTime not in", values, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeBetween(Date value1, Date value2) {
            addCriterion("firstAppearDateTime between", value1, value2, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappeardatetimeNotBetween(Date value1, Date value2) {
            addCriterion("firstAppearDateTime not between", value1, value2, "firstappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeIsNull() {
            addCriterion("secondAppearDateTime is null");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeIsNotNull() {
            addCriterion("secondAppearDateTime is not null");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeEqualTo(Date value) {
            addCriterion("secondAppearDateTime =", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeNotEqualTo(Date value) {
            addCriterion("secondAppearDateTime <>", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeGreaterThan(Date value) {
            addCriterion("secondAppearDateTime >", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("secondAppearDateTime >=", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeLessThan(Date value) {
            addCriterion("secondAppearDateTime <", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeLessThanOrEqualTo(Date value) {
            addCriterion("secondAppearDateTime <=", value, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeIn(List<Date> values) {
            addCriterion("secondAppearDateTime in", values, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeNotIn(List<Date> values) {
            addCriterion("secondAppearDateTime not in", values, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeBetween(Date value1, Date value2) {
            addCriterion("secondAppearDateTime between", value1, value2, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andSecondappeardatetimeNotBetween(Date value1, Date value2) {
            addCriterion("secondAppearDateTime not between", value1, value2, "secondappeardatetime");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeIsNull() {
            addCriterion("firstAppearCpCode is null");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeIsNotNull() {
            addCriterion("firstAppearCpCode is not null");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeEqualTo(String value) {
            addCriterion("firstAppearCpCode =", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeNotEqualTo(String value) {
            addCriterion("firstAppearCpCode <>", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeGreaterThan(String value) {
            addCriterion("firstAppearCpCode >", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeGreaterThanOrEqualTo(String value) {
            addCriterion("firstAppearCpCode >=", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeLessThan(String value) {
            addCriterion("firstAppearCpCode <", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeLessThanOrEqualTo(String value) {
            addCriterion("firstAppearCpCode <=", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeLike(String value) {
            addCriterion("firstAppearCpCode like", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeNotLike(String value) {
            addCriterion("firstAppearCpCode not like", value, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeIn(List<String> values) {
            addCriterion("firstAppearCpCode in", values, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeNotIn(List<String> values) {
            addCriterion("firstAppearCpCode not in", values, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeBetween(String value1, String value2) {
            addCriterion("firstAppearCpCode between", value1, value2, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpcodeNotBetween(String value1, String value2) {
            addCriterion("firstAppearCpCode not between", value1, value2, "firstappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeIsNull() {
            addCriterion("secondAppearCpCode is null");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeIsNotNull() {
            addCriterion("secondAppearCpCode is not null");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeEqualTo(String value) {
            addCriterion("secondAppearCpCode =", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeNotEqualTo(String value) {
            addCriterion("secondAppearCpCode <>", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeGreaterThan(String value) {
            addCriterion("secondAppearCpCode >", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeGreaterThanOrEqualTo(String value) {
            addCriterion("secondAppearCpCode >=", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeLessThan(String value) {
            addCriterion("secondAppearCpCode <", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeLessThanOrEqualTo(String value) {
            addCriterion("secondAppearCpCode <=", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeLike(String value) {
            addCriterion("secondAppearCpCode like", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeNotLike(String value) {
            addCriterion("secondAppearCpCode not like", value, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeIn(List<String> values) {
            addCriterion("secondAppearCpCode in", values, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeNotIn(List<String> values) {
            addCriterion("secondAppearCpCode not in", values, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeBetween(String value1, String value2) {
            addCriterion("secondAppearCpCode between", value1, value2, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpcodeNotBetween(String value1, String value2) {
            addCriterion("secondAppearCpCode not between", value1, value2, "secondappearcpcode");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameIsNull() {
            addCriterion("firstAppearCpName is null");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameIsNotNull() {
            addCriterion("firstAppearCpName is not null");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameEqualTo(String value) {
            addCriterion("firstAppearCpName =", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameNotEqualTo(String value) {
            addCriterion("firstAppearCpName <>", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameGreaterThan(String value) {
            addCriterion("firstAppearCpName >", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameGreaterThanOrEqualTo(String value) {
            addCriterion("firstAppearCpName >=", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameLessThan(String value) {
            addCriterion("firstAppearCpName <", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameLessThanOrEqualTo(String value) {
            addCriterion("firstAppearCpName <=", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameLike(String value) {
            addCriterion("firstAppearCpName like", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameNotLike(String value) {
            addCriterion("firstAppearCpName not like", value, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameIn(List<String> values) {
            addCriterion("firstAppearCpName in", values, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameNotIn(List<String> values) {
            addCriterion("firstAppearCpName not in", values, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameBetween(String value1, String value2) {
            addCriterion("firstAppearCpName between", value1, value2, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andFirstappearcpnameNotBetween(String value1, String value2) {
            addCriterion("firstAppearCpName not between", value1, value2, "firstappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameIsNull() {
            addCriterion("secondAppearCpName is null");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameIsNotNull() {
            addCriterion("secondAppearCpName is not null");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameEqualTo(String value) {
            addCriterion("secondAppearCpName =", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameNotEqualTo(String value) {
            addCriterion("secondAppearCpName <>", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameGreaterThan(String value) {
            addCriterion("secondAppearCpName >", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameGreaterThanOrEqualTo(String value) {
            addCriterion("secondAppearCpName >=", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameLessThan(String value) {
            addCriterion("secondAppearCpName <", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameLessThanOrEqualTo(String value) {
            addCriterion("secondAppearCpName <=", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameLike(String value) {
            addCriterion("secondAppearCpName like", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameNotLike(String value) {
            addCriterion("secondAppearCpName not like", value, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameIn(List<String> values) {
            addCriterion("secondAppearCpName in", values, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameNotIn(List<String> values) {
            addCriterion("secondAppearCpName not in", values, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameBetween(String value1, String value2) {
            addCriterion("secondAppearCpName between", value1, value2, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andSecondappearcpnameNotBetween(String value1, String value2) {
            addCriterion("secondAppearCpName not between", value1, value2, "secondappearcpname");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNull() {
            addCriterion("dateTime is null");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNotNull() {
            addCriterion("dateTime is not null");
            return (Criteria) this;
        }

        public Criteria andDatetimeEqualTo(Date value) {
            addCriterion("dateTime =", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotEqualTo(Date value) {
            addCriterion("dateTime <>", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThan(Date value) {
            addCriterion("dateTime >", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dateTime >=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThan(Date value) {
            addCriterion("dateTime <", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("dateTime <=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeIn(List<Date> values) {
            addCriterion("dateTime in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotIn(List<Date> values) {
            addCriterion("dateTime not in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeBetween(Date value1, Date value2) {
            addCriterion("dateTime between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("dateTime not between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNull() {
            addCriterion("gmtCreate is null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNotNull() {
            addCriterion("gmtCreate is not null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateEqualTo(Date value) {
            addCriterion("gmtCreate =", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotEqualTo(Date value) {
            addCriterion("gmtCreate <>", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThan(Date value) {
            addCriterion("gmtCreate >", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtCreate >=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThan(Date value) {
            addCriterion("gmtCreate <", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThanOrEqualTo(Date value) {
            addCriterion("gmtCreate <=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIn(List<Date> values) {
            addCriterion("gmtCreate in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotIn(List<Date> values) {
            addCriterion("gmtCreate not in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateBetween(Date value1, Date value2) {
            addCriterion("gmtCreate between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotBetween(Date value1, Date value2) {
            addCriterion("gmtCreate not between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("modifier like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("modifier not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNull() {
            addCriterion("gmtModified is null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNotNull() {
            addCriterion("gmtModified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedEqualTo(Date value) {
            addCriterion("gmtModified =", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotEqualTo(Date value) {
            addCriterion("gmtModified <>", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThan(Date value) {
            addCriterion("gmtModified >", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtModified >=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThan(Date value) {
            addCriterion("gmtModified <", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmtModified <=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIn(List<Date> values) {
            addCriterion("gmtModified in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotIn(List<Date> values) {
            addCriterion("gmtModified not in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedBetween(Date value1, Date value2) {
            addCriterion("gmtModified between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmtModified not between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("dataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("dataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(String value) {
            addCriterion("dataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(String value) {
            addCriterion("dataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(String value) {
            addCriterion("dataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(String value) {
            addCriterion("dataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(String value) {
            addCriterion("dataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(String value) {
            addCriterion("dataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLike(String value) {
            addCriterion("dataStatus like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotLike(String value) {
            addCriterion("dataStatus not like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<String> values) {
            addCriterion("dataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<String> values) {
            addCriterion("dataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(String value1, String value2) {
            addCriterion("dataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(String value1, String value2) {
            addCriterion("dataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Long value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Long value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Long value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Long value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Long value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Long value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Long> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Long> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Long value1, Long value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Long value1, Long value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}